package cn.wonderland.basic.controller;

import cn.wonderland.basic.service.EchartsService;
import cn.wonderland.basic.vo.EchartsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/echarts")
public class EchartsController {

    @Autowired
    private EchartsService echartsService;
    // 报表
    @GetMapping()
    public EchartsVo echarts(){
        return echartsService.echarts();

    }

}
